package top.healthylife.gateway.feignapi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author GaoZexi
 */
@Data
@Accessors(chain = true)
@ApiModel("API的价格对象")
public class ApiPriceDto {
    @ApiModelProperty("第三方接口名称")
    String shortName;
    @ApiModelProperty("凭证名称(数据产品的名称)")
    String secretName;
    @ApiModelProperty("接口名称")
    String apiName;
    @ApiModelProperty("属性名")
    String key;
    @ApiModelProperty(required = true, value = "属性全路径名,包含了接口所在类的层级,\".\"号分割")
    String absoluteKey;
    @ApiModelProperty(value = "参数解释")
    String info;
    @ApiModelProperty("示例")
    String reference;
    @ApiModelProperty("类型")
    String type;
    @ApiModelProperty("接口的访问介个,单位:分")
    Long price;
}